package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog hh = new Dog();
        hh.name = "花花";
        hh.age = 2;
        hh.color  = "黑";
        hh.eat();
        hh.drink();
        hh.lookHome();

        Chick jj =new Chick("啾啾",3,"黄");
        jj.eat();
        jj.drink();
        jj.layEggs();

        Fish ss = new Fish("水水",1,"蓝");
        ss.eat();
        ss.drink();
    }
}
